package com.nfdw.project.vo;

import lombok.Builder;
import lombok.Data;

import javax.persistence.Column;
import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.List;

@Data
@Builder
public class TradeProfitAndLossInfoVo {

    TradeProfitArr tradeProfitArr;
    TradeLossArr tradeLossArr;

    @Data
    public static class TradeProfitArr{
        private ArrayList monProfitUsersNumArr;
        private ArrayList yearProfitUsersNumArr;
        private ArrayList monProfitMoneyArr;
        private ArrayList yearProfitMoneyArr;
    }

    @Data
    public static class TradeProfitVo{


        private String companyType;
        /**
         * 本月盈利企业 单位：家
         */
        private Integer monProfitUsersNum;

        /**
         * 本年盈利企业 单位：家
         */
        private Integer yearProfitUsersNum;

        /**
         * 本月盈利金额 单位：元
         */
        private BigDecimal monProfitMoney;

        /**
         * 本年盈利金额 单位：元
         */
        private BigDecimal yearProfitMoney;
    }

    @Data
    public static class TradeLossArr{
        private ArrayList monLossUsersNumArr;
        private ArrayList yearLossUsersNumArr;
        private ArrayList monLossMoneyArr;
        private ArrayList yearLossMoneyArr;
    }

    @Data
    public static class TradeLossVo{


        private String companyType;

        /**
         * 本月亏损企业 单位：家
         */
        private Integer monLossUsersNum;

        /**
         * 本年亏损企业 单位：家
         */
        private Integer yearLossUsersNum;

        /**
         * 本月亏损金额 单位：元
         */
        private BigDecimal monLossMoney;

        /**
         * 本年盈利金额 单位：元
         */
        private BigDecimal yearLossMoney;
    }


}
